(function () {
    // console.log( document.documentElement );
    var htmlDom = document.documentElement;

    var recalc = function(){
        var width = htmlDom.clientWidth;

        if(width<=750){
            htmlDom.style.fontSize = 75 * (width/750) + "px";
        }else{
            htmlDom.style.fontSize = "54px";
        }
    }

    recalc();

    window.addEventListener("resize",recalc)
    window.onload = function(){
        document.body.style.fontSize = "12px";
    }
})();